﻿
using AutoMapper;
using BCCommon;
using BCCommon.Enums;
using BCDto.TMS.EasyMoveSuiteConfig;
using BCEntity.TMS.EasyMoveSuiteConfig;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.MapperProfiles.TMS
{
    public class EasyMoveSuiteConfigProfile : Profile
    {
        public EasyMoveSuiteConfigProfile()
        {

            //便捷搬家套餐配置
            CreateMap<EasyMoveSuiteConfigDto, EasyMoveSuiteConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigRequestDto, EasyMoveSuiteConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigRequestDto, EasyMoveSuiteConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigPutDto, EasyMoveSuiteConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigEntity, EasyMoveSuiteConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<EasyMoveSuiteConfigViewEntity, EasyMoveSuiteConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}